﻿<baseClass:ChildWindow x:Class="EFS.Common.UI.Controls.ModalDialogHost"
					   xmlns:baseClass="clr-namespace:EFS.Common.UI.Controls"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" OverlayOpacity="0.5">
    <Grid x:Name="LayoutRoot" Margin="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
		
        <!-- the hosted content -->
        <ContentPresenter x:Name="contentHost"/>
		
		<ContentPresenter x:Name="contentPresenter"></ContentPresenter>
		
		<Button x:Name="buttonCancel" Content="Cancel" Click="buttonCancel_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
		<Button x:Name="buttonOK" Content="OK" Click="buttonOK_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
    </Grid>
	</baseClass:ChildWindow>